Average-case complexity of single-source shortest-paths algorithms: lower and upper bounds
نویسنده
چکیده
We study the average-case running-time of single-source shortest-path (SSSP) algorithms assuming arbitrary directed graphs with n nodes, m edges, and independent random edge weights uniformly distributed in [0,1]. We give the first label-setting and label-correcting algorithms that run in linear time O(n+ m) on the average. In fact, the result for the label-setting version is even obtained for dependent edge weights. In case of independence, however, the linear-time bound holds with high probability, too. Furthermore, we propose a general method to construct graphs with random edge weights that cause large expected running times when input to many traditional SSSP algorithms. We use our method to prove lower bounds on the average-case complexity of the following algorithms: the “Bellman–Ford algorithm” [R. Bellman, Quart. Appl. Math. 16 (1958) 87–90, L.R. Ford, D.R. Fulkerson, 1963], “Pallottino’s Incremental Graph algorithm” [S. Pallottino, Networks 14 (1984) 257–267], the “Threshold approach” [F. Glover, R. Glover, D. Klingman, Networks 14 (1984) 23–37, F. Glover, D. Klingman, N. Phillips, Oper. Res. 33 (1985) 65–73, F. Glover, D. Klingman, N. Phillips, R.F. Schneider, Management Sci. 31 (1985) 1106–1128], the “Topological Ordering SSSP algorithm” [A.V. Goldberg, T. Radzik, Appl. Math. Lett. 6 (1993) 3–6], the “Approximate Bucket implementation” of Dijkstra’s algorithm [B.V. Cherkassky, A.V. Goldberg, T. Radzik, Math. Programming 73 (1996) 129–174], and the “∆-Stepping algorithm” [U. Meyer, P. Sanders, 1998]. 2003 Elsevier Inc. All rights reserved. ✩ Partially supported by the DFG Grant SA 933/1-1, the Future and Emerging Technologies programme of the EU under Contract IST-1999-14186 (ALCOM-FT), and the Center of Excellence programme of the EU under Contract ICAI-CT-2000-70025. Parts of this work were done while the author was visiting the Computer and Automation Research Institute of the Hungarian Academy of Sciences, Center of Excellence, MTA SZTAKI, Budapest. E-mail address: [email protected]. 0196-6774/03/$ – see front matter 2003 Elsevier Inc. All rights reserved. doi:10.1016/S0196-6774(03)00046-4 92 U. Meyer / Journal of Algorithms 48 (2003) 91–134
منابع مشابه
Average Costs of a Graph Exploration: Upper and Lower Bounds
We consider the exploration of random graphs. We give upper and lower bounds for the expected number of edges traversed during an exploration. This result implies a lower bound for the expected running time of a wide class of algorithms { e.g. Breadth-First-Search, Depth-First-Search, and algorithms to determine a minimum spanning tree or to solve the single source shortest paths problem in a w...
متن کاملAverage-case complexity of shortest-paths problems
We study both upper and lower bounds on the average-case complexity of shortestpaths algorithms. It is proved that the all-pairs shortest-paths problem on n-vertex networks can be solved in time O(n2 logn) with high probability with respect to various probability distributions on the set of inputs. Our results include the first theoretical analysis of the average behavior of shortest-paths algo...
متن کاملDesign and analysis of sequential and parallel single-source shortest-paths algorithms
We study the performance of algorithms for the Single-Source Shortest-Paths (SSSP) problem on graphs with nodes and edges with nonnegative random weights. All previously known SSSP algorithms for directed graphs required superlinear time. We give the first SSSP algorithms that provably achieve linear average-case execution time on arbitrary directed graphs with random edge weights. For independ...
متن کاملImproved Distributed Algorithms for Exact Shortest Paths
Computing shortest paths is one of the central problems in the theory of distributed computing. For the last few years, substantial progress has been made on the approximate single source shortest paths problem, culminating in an algorithm of Henzinger, Krinninger, and Nanongkai [STOC’16] which deterministically computes (1 + o(1))-approximate shortest paths in Õ(D + √ n) time, where D is the h...
متن کاملThe Provable Virtue of Laziness in Motion Planning
The Lazy Shortest Path (LazySP) class consists of motionplanning algorithms that only evaluate edges along shortest paths between the source and target. These algorithms were designed to minimize the number of edge evaluations in settings where edge evaluation dominates the running time of the algorithm; but how close to optimal are LazySP algorithms in terms of this objective? Our main result ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Algorithms
دوره 48 شماره
صفحات -
تاریخ انتشار 2003